package com.yinshu.teleshield.domain.vo.user;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户表(User)表实体类
 * @author yangjunxiong   2024-11-11 11:22:22
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@Schema(description="UserSaveVO 用户表 SaveVo对象")
public class UserSaveVO implements Serializable {
    private static final long serialVersionUID = 275557377884027232L;
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "用户昵称")
    private String nickname;
    @Schema(description = "用户名称")
    private String username;
    @Schema(description = "手机号")
    private String phone;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "盐")
    private String salt;
    @Schema(description = "状态 1可用 2禁用")
    private String status;
    @Schema(description = "描述")
    private String descr;

    //@Override
    //public VerifyMessage extraVerify(boolean skipNull) {
    //    return VerifyMessage.SUCCESS;
    //}

    /** ---> 业务字段开始 */
    //@TableField(exist = false)
}

